
public class IntrarePersonala implements Intrare {
	private String name;
	private Address address;
	private PhoneNumber number;
	private static IntrarePersonala INSTANCE;
	private IntrarePersonala(String n, Address a,PhoneNumber p)
	{
		this.name=n;
		this.address=a;
		this.number=p;
	}
public static IntrarePersonala getInstance(String n, Address a,PhoneNumber p)
{
	if(INSTANCE==null)
	{
		INSTANCE=new IntrarePersonala(n,a,p);
	}
return INSTANCE;
}
public Intrare copiere()
{
	return INSTANCE;
}
public String getName()
{
	return this.name;
}
public String toString()
{
	return "Date personale: " +this.name+" "+this.address+" "+this.number;
}
}
